package com.per.mybootall.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;
@Component
public class RoleAndUser {
    private Integer userid;

    private Integer role;

    private Date creattime;

    public RoleAndUser(Integer userid, Integer role, Date creattime) {
        this.userid = userid;
        this.role = role;
        this.creattime = creattime;
    }

    public RoleAndUser() {
        super();
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }
}